<?php

require_once('../config.php');
require_once('parse-webct-xml.php');
require_once($CFG->libdir.'/uploadlib.php'); // We use the upload_manager class to handle uploaded files
require_once($CFG->libdir.'/moodlelib.php'); // This gives us the function that tells us the max upload size

@ini_set("max_execution_time","28800");

loadWctZipFile($argv[1], $argv[2], $argv[2], "reguliere");
#loadWctFile('/var/www/html/import/moodledata/wctbatch/163242/', 'GCTP_2a', 'GCTP_2a');

?>
